package com.atguigu.gulimall.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

/**
 * 品牌分类关联
 *
 * @author Zhang-Dolphin
 * @email Zhang-Dolphin@gmail.com
 * @date 2019-11-17 21:25:25
 */
@Data
@TableName("pms_category_brand_relation")
public class CategoryBrandRelationEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
   // @JsonSerialize(using = ToStringSerializer.class)
   @TableId
    private Long id;
    /**
     * 品牌id
     */

    private Long brandId;
    /**
     * 分类id
     */

    private Long catelogId;
    /**
     *
     */

    private String brandName;
    /**
     *
     */
    private String catelogName;

}
